<template>
	<view class="container">
		<view v-html="content">
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: "",
			}
		},

		onLoad(options) {
			this.currentCourse = JSON.parse(decodeURIComponent(options.course));
			this.content = this.currentCourse.content
		},
		onShow() {

		},

	}
</script>

<style>
	.container {
		padding: 20rpx;
		box-sizing: border-box;
		min-height: 100vh;
		background-color: #f5f5f5;
		display: flex;
		flex-direction: column;
	}
</style>